@import '~common/base/css/base.css';

.tab-body {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;

	> .el-row {
		height: 100%;
		> .el-col {
			height: 100%;
			> .el-card {
				height: 100%;
			}
			> .leftCard {
				display: flex;
				flex-direction: column;
				/deep/.el-card__body {
					flex: auto;
					overflow: auto;
					display: flex;
					flex-direction: column;
					.tree {
						overflow: auto;
					}
				}
			}
			> .rightCard {
				display: flex;
				flex-direction: column;
				/deep/.el-card__body {
					flex: auto;
					overflow: auto;
					display: flex;
					flex-direction: column;
				}
			}
		}
	}
	//搜索栏
	.search {
		.search-btn {
			margin: 0 20px 10px 20px;
			display: inline-block;
		}
	}
	///操作栏
	.operator {
		margin-bottom: 10px;
	}
	//数据表格栏
	.dataTable {
		display: flex;
		flex-direction: column;
		overflow: auto;
		.table {
			flex: auto;height: auto
		}
		.dataTable-operator {
			display: flex;
			justify-content: center;
		}
		.pageBar {
			margin-top: 30px;
			height:40px;
		}
	}
}
//自动填满，需要父元素时flex布局
.autoFlex {
	flex: auto;
}
.el-select {
	display: block;
}
	
.el-button+.el-button,.el-button+.el-dropdown {
	margin-left: 10px;
}

//表单样式
/deep/.dataForm {
	.el-form-item {
		display: flex;
		.el-form-item__content {
			flex: 1;
		}
	}
	.el-date-editor.el-input {
		width: 100%;
	}
}